home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1992 June: ROMin Holiday / ADC Developer CD (1992-06) (''ROMin Holiday'')_iso / Developer Connection - 06-1992.iso / Developer Essentials / Technical Docs / Inside Macintosh / New Inside Mac - draft / Files / Files.rsrc / TOC#_1000 < prev   
Encoding:
Text File  |  1992-01-14  |  9.1 KB  |  3 lines

  1. CIntroduction to File Management About Files
  2. File Forks!The two forks of a Macintosh file    File Size$Logical blocks and allocation blocks Logical and physical end-of-fileFile Access CharacteristicsThe Hierarchical File System&The Macintosh hierarchical file systemThe disk switch dialog box!Identifying Files and Directories Using FilesHandling the File menu commands$Testing for File Management Routines3Testing for the availability of the FSSpec routinesDefining a Document RecordA sample document recordCreating a New FileHandling the New menu commandOpening a FileHandling the Open menu commandThe default Open dialog boxOpening a fileReading File DataReading data from a fileWriting File DataWriting data into a fileUpdating a file safelySaving a FileHandling the Save menu command!Handling the Save As menu commandThe default Save dialog boxThe New Folder dialog boxThe name conflict dialog boxReverting to a Saved FileA Revert to Saved dialog box)Handling the Revert to Saved menu commandClosing a FileHandling the Close menu commandClosing a file)Opening Files at Application Startup Time(Opening files at application launch timeUsing a Preferences FileOpening a preferences fileAdjusting the File MenuAdjusting the File menuReference to File ManagementData Structures File System Specification RecordStandard File Reply RecordsApplication Files RecordsFile Identification RoutinesFile Access Routines#Reading, Writing, and Closing FilesManipulating the File MarkManipulating the End-of-FileFSSpec Routines%Opening, Creating, and Deleting Files Exchanging the Data in Two Files#Creating File System SpecificationsVolume Access RoutinesUpdating Volumes#Obtaining a Volume Reference Number Application Launch File RoutinesSummary of File ManagementIndexThe File ManagerAbout the File ManagerFile ManipulationRoutines for opening file forks)Routines for operating on open file forks&Routines for operating on closed filesDirectory Manipulation%Routines for operating on directories-Routines for manipulating working directoriesVolume Manipulation!Routines for operating on volumesShared EnvironmentsShared File Access PermissionsAccess mode translationDirectory Access Privileges6    Access privileges information in the ioACAccess fieldRemote Volume Mounting-Privilege Information in Foreign File SystemsFile ID Routines+Identifying Files, Directories, and VolumesFile System SpecificationsFile IDsDirectory IDsVolume Reference Numbers#Working Directory Reference NumbersNames and PathnamesHFS SpecificationsIdentifying a file in HFSUsing the File Manager,Determining the Features of the File ManagerTesting for PBCatSearch*Creating File System Specification Records/How FSMakeFSSpec interprets file specifications-Manipulating the Default Volume and DirectoryDeleting Files and File ForksDeleting a file’s resource forkSearching a Catalog9Fields in ioSearchInfo1 and ioSearchInfo2 used for a file>Fields in ioSearchInfo1 and ioSearchInfo2 used for a directoryOThe effect of ioSearchBits on interpretation of ioSearchInfo1 and ioSearchInfo2#Searching a volume with PBCatSearchConstructing Full Pathnames(Constructing the full pathname of a file0Determining the Amount of Free Space on a Volume0Determining the amount of free space on a volumeSharing Volumes and Directories(Determining whether a volume is sharable+Determining whether file sharing is enabled!Locking and Unlocking File Ranges1Determining whether a file can have ranges locked/Locking a file range to append data to the fileData Organization on VolumesDisk and Volume Organization$Organization of partitions on a diskOrganization of a volume Boot BlocksMaster Directory BlocksVolume BitmapsB*-TreesThe structure of a B*-tree fileNodesThe structure of a node Node Records"Structure of a B*-tree node recordA sample B*-tree Header NodesHeader node structure    Map Nodes Index Nodes
  3. Leaf NodesCatalog FilesCatalog File KeysCatalog File Data RecordsExtents Overflow FilesData Organization in MemoryThe File I/O QueueVolume Control BlocksFile Control BlocksB*-Tree Control BlocksThe Drive Queue*Reading a drive queue element’s flag bytesReference to the File ManagerData Structures File System Specification Record"Basic File Manager Parameter BlockHFS Parameter Block$Catalog Information Parameter BlocksCatalog Position RecordsCatalog Move Parameter Blocks"Working Directory Parameter Blocks#File Control Block Parameter BlocksVolume Attributes Buffer#Volume Mounting Information RecordsHigh-Level File Access Routines#Reading, Writing, and Closing FilesManipulating the File MarkManipulating the End-of-FileAllocating File BlocksLow-Level File Access Routines#Reading, Writing, and Closing FilesManipulating the File MarkManipulating the End-of-FileAllocating File BlocksUpdating Files!High-Level Volume Access RoutinesUnmounting VolumesUpdating VolumesManipulating the Default VolumeObtaining Volume Information Low-Level Volume Access RoutinesMounting and Unmounting VolumesUpdating VolumesObtaining Volume InformationManipulating the Default Volume"File System Specification RoutinesOpening Files+Creating and Deleting Files and Directories1Accessing Information about Files and DirectoriesMoving Files or Directories Exchanging the Data in Two Files#Creating File System SpecificationsHigh-Level HFS RoutinesOpening Files+Creating and Deleting Files and Directories1Accessing Information about Files and DirectoriesMoving Files or DirectoriesMaintaining Working DirectoriesLow-Level HFS RoutinesOpening Files+Creating and Deleting Files and Directories1Accessing Information about Files and DirectoriesMoving Files or DirectoriesMaintaining Working DirectoriesSearching a Catalog Exchanging the Data in Two FilesShared Environment Routines"Opening Files While Denying Access!Locking and Unlocking File RangesManipulating Share PointsControlling Directory AccessMounting VolumesControlling Login AccessCopying and Moving FilesFile ID RoutinesResolving File ID References(Creating and Deleting File ID ReferencesForeign File System Routines7Accessing Privilege Information in Foreign File SystemsUtility RoutinesObtaining Queue HeadersAdding a Drive(Obtaining File Control Block InformationSummary of the File ManagerIndexThe Standard File PackageAbout the Standard File PackageStandard User InterfacesOpening FilesThe default Open dialog box Saving FilesThe default Save dialog boxThe New Folder dialog boxThe name conflict dialog boxKeyboard EquivalentsCustomized User Interfaces Saving Files.Customizing the Save dialog with radio buttons.Customizing the Save dialog with a pop-up menuOpening Files.Customizing the Open dialog with a pop-up menuUser Interface GuidelinesUsing the Standard File Package&Presenting the Standard User InterfaceHandling the Open menu command$Specifying more than four file typesCustomizing the User Interface'Presenting a customized Open dialog boxCustomizing Dialog Boxes-The definition of the default Open dialog box-The definition of the default Save dialog box-The item list for the default Open dialog box-The item list for the default Save dialog boxWriting a File Filter FunctionA sample file filter functionWriting a Dialog Hook FunctionA sample dialog hook function&Writing a Modal-Dialog Filter Function%A sample modal-dialog filter functionWriting an Activation ProcedureSetting the Current DirectorySetting the current directoryUsing the Original Procedures&Reference to the Standard File PackageData Structures#Enhanced Standard File Reply Record#Original Standard File Reply RecordRoutines Saving FilesOpening Files$Summary of the Standard File PackageIndexThe Disk Initialization Package%About the Disk Initialization PackageDisk Initialization&The Disk Initialization User InterfaceThe unreadable disk dialog4Alternate buttons for the disk initialization dialogDisk initialization warningNaming a new diskErasing a disk in the FinderBad Block Sparing%Using the Disk Initialization Package"Responding to Disk-Inserted Events"Responding to disk-inserted eventsErasing Initialized DisksReinitializing a valid disk0Overriding the Standard Initialization InterfaceLReinitializing a validly formatted disk without using the standard interfaceGInitializing an uninitialized disk without using the standard interface'Changing Default Volume Characteristics'Changing default volume characteristics,Reference to the Disk Initialization PackageRoutines5Loading and Unloading the Disk Initialization PackageInitializing a Disk&Low-Level Disk Initialization Routines*Summary of the Disk Initialization PackageIndexThe Alias ManagerAbout the Alias ManagerAlias RecordsSearch StrategiesRelative SearchesResolving a relative pathAbsolute SearchesFast SearchesExhaustive SearchesUsing the Alias ManagerCreating Alias RecordsCreating an alias recordResolving Alias RecordsIdentifying a Single TargetIdentifying Multiple TargetsMaintaining Alias Records%Storing an alias record as a resource'Getting Information About Alias RecordsCustomizing Alias RecordsReference to the Alias ManagerData StructuresAlias RecordsRoutines#Creating and Updating Alias Records#Resolving and Reading Alias RecordsFiltering Possible TargetsSummary of the Alias ManagerIndex